import RouterConfig from './router/router';
import './common/css/index.less';
import { IntlProvider } from 'react-intl';
import zh from './language/zh';
import en from './language/en';

const locale = 'zh';
const messages = {
  zh,
  en,
}[locale];

function App() {
  return (
    <IntlProvider locale={locale} messages={messages} className="App">
      <RouterConfig />
    </IntlProvider>
  );
}

export default App;
